<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>${appname}-<c:if test="${!empty sessionScope._local_node_session}">${sessionScope._local_node_session.nodeName}-</c:if>${si:ctname("NET_TYPE",sessionScope._netType)}</title>
    <%@ include file="/WEB-INF/view/common/css_js_ace.jsp" %>
    <script type="text/javascript">
        $(function () {
            Rainbow.color();
            $('.tipMe').tooltip({'placement': 'top'});
        });
        
        function sync(id){
	         $.ajax({
				   type: "POST",
				   dataType:"json",
				   cache: false,
				   url: _ctx + "/monitor/recv_file_data_log_sync.do",
				   data: {id:id},
				   success: function(resp){
					   if(resp.status == '1'){
						   ui.msg(resp.msg, 1);
						   ui.go(_ctx + '/monitor/recv_file_data_get.do?id='+id);
					   }else{
						   ui.msg(resp.msg, 0);
					   }
				   },
				   error:function(){
					   ui.msg('信息加载错误', 0);
				   }
			}); 
        }
        
        function receive(id){
	         $.ajax({
				   type: "POST",
				   dataType:"json",
				   cache: false,
				   url: _ctx + "/monitor/recv_file_data_receive.do",
				   data: {id:id},
				   success: function(resp){
					   if(resp.status == '1'){
						   ui.msg(resp.msg, 1);
						   ui.go(_ctx + '/monitor/recv_file_data_get.do?id='+id);
					   }else{
						   ui.msg(resp.msg, 0);
					   }
				   },
				   error:function(){
					   ui.msg('信息加载错误', 0);
				   }
			}); 
       }
    </script>
    <style type="text/css">
        .xmlContent {
            min-height: 200px;
        }
    </style>
</head>
<body>
<%@ include file="/WEB-INF/view/common/topbar.jsp" %>
<c:set var="vo" value="${_data}"/>
<div class="main-container" id="main-container">
<div class="main-container-inner">
<%@ include file="/WEB-INF/view/common/sidebar.jsp" %>
<div class="main-content">
<div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">首页</a>
        </li>
		<li>
			<a href="#">数据交换监控</a>
		</li>
		<li>
			<a href="#">非结构化数据监控</a>
		</li>
        <li class="active">接收数据监控</li>
    </ul>
</div>

<div class="page-content">
<div class="row">
<div class="col-xs-12">
<div class="widget-box">
<div class="widget-header header-color-white">
    <div class="widget-toolbar no-border">
        <a class="btn btn-primary btn-xs" href="${ctx}/monitor/recv_file_data_list.do"><i class="icon-arrow-left"></i>
            返回&nbsp;&nbsp;</a>
    </div>
</div>
<div class="widget-body">
<div class="widget-main">
<div class="widget-container-span">
    <div class="widget-box transparent">
        <div class="widget-header">
            <h4 class="lighter">消息路由状态<a href="#" title="刷新" class="tipMe btn btn-xs btn-info" onclick="javascript:$.refresh();">
														<i class="icon-refresh"></i>刷新
													</a>
													
													<!-- 当通知状态为0,也就是还没有通知的时候,才能有这个功能 -->
													
													<c:if test="${(vo.crossNet==0 && vo.notifyStatus==0) || (vo.crossNet!=0 && vo.sendStatus!=0 && vo.sendStatus!=1)}">
													   <a href="#" title="手动同步路由状态" class="tipMe btn btn-xs btn-info" onclick="sync('${vo.orderId}')">
														<i class="icon-exchange"></i>手动同步路由状态
													  </a>
													</c:if>
													
														<!-- 跨网传输，由于没有回执，发送失败后，增加适配器重新接收功能 -->
													<c:if test="${vo.crossNet!=0 && vo.sendStatus==3}">
													     <a href="#" title="适配器重新接收" class="tipMe btn btn-xs btn-info" onclick="receive('${vo.orderId}')">
													     	<i class="fa fa-paper-plane-o"></i>&nbsp;适配器重新接收
													     </a>
													</c:if>
													</h4>

            <div class="widget-toolbar no-border">
                <%--
                <a href="#" data-action="settings">
                    <i class="icon-cog"></i>
                </a>
                <a href="#" data-action="reload">
                    <i class="icon-refresh"></i>
                </a>
                <a href="#" data-action="close">
                    <i class="icon-remove"></i>
                </a>
                --%>
                <a href="#" data-action="collapse">
                    <i class="icon-chevron-up"></i>
                </a>
            </div>
        </div>

        <div class="widget-body">
            <div class="widget-main padding-6 no-padding-left no-padding-right">
                <div class="alert alert-info">
                    <ul class="wizard-steps">
                        <li data-target="#step1" class="active">
                            <c:choose>
                                <c:when test="${'1' == routeLog.localStore.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localStore.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.localStore.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localStore.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">3</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">本地仓库</span>
                            <span class="title font12">${routeLog.localStore.date}&nbsp;</span>
                        </li>
                        <c:choose>
                        <c:when test="${!si:isInnerNet(netType) && vo.crossNet=='1'}"><!-- 如果是外网 -->
							   <li data-target="#step2" <c:if test="${ routeLog.waitCarvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}">2</span>
									</c:if>
									<c:if test="${'1' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">刻盘
									</span>
									<span class="title font12">${routeLog.waitCarvedDiscs.date}&nbsp;</span>
							    </li>
							</c:when>
							
							<c:when test="${si:isInnerNet(netType) && vo.crossNet=='1' }"><!-- 如果是内网 -->
							    <li data-target="#step2" <c:if test="${ routeLog.waitCarvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}">2</span>
									</c:if>
									<c:if test="${'1' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">等待刻盘
									</span>
									<span class="title font12">${routeLog.waitCarvedDiscs.date}&nbsp;</span>
							    </li>
							    <li data-target="#step3" <c:if test="${ routeLog.carvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}">3</span>
									</c:if>
									<c:if test="${'1' == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">已刻盘</span>
									<span class="title font12">${routeLog.carvedDiscs.date}&nbsp;</span>
							    </li>
							</c:when>
                           <c:when test="${vo.crossNode=='1' && vo.crossNet=='0' }">
                             <li data-target="#step2"
                            <c:if test="${ routeLog.localPipeline!=null && routeLog.localPipeline.date != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.localPipeline.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.localPipeline.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">3</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">本地发送队列</span>
                            <span class="title font12">${routeLog.localPipeline.date}&nbsp;</span>
                        </li>

                        <li data-target="#step3"
                            <c:if test="${routeLog.remoteStore!=null && routeLog.remoteStore.status != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.remoteStore.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.remoteStore.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">3</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">目的仓库</span>
                            <span class="title font12">${routeLog.remoteStore.date}&nbsp;</span>
                        </li>

                        <li data-target="#step4"
                            <c:if test="${ routeLog.remoteSys!=null && routeLog.remoteSys.status != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.remoteSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.remoteSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">4</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">接收适配器接收</span>
                            <span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
                        </li>

                        <li data-target="#step5"
                            <c:if test="${ routeLog.localSys!=null && routeLog.localSys.date != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.localSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localSys.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.localSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localSys.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">4</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">结果回执</span>
                            <span class="title font12">${routeLog.localSys.date}&nbsp;</span>
                        </li>
                           </c:when>
                           <c:when test="${vo.crossNode=='0' && vo.crossNet=='0' }">
                              <li data-target="#step4"
                            <c:if test="${ routeLog.remoteSys!=null && routeLog.remoteSys.status != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.remoteSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.remoteSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">2</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">接收适配器接收</span>
                            <span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
                        </li>

                        <li data-target="#step5"
                            <c:if test="${ routeLog.localSys!=null && routeLog.localSys.date != ''}">class="active"</c:if>>
                            <c:choose>
                                <c:when test="${'1' == routeLog.localSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localSys.message}"><span
                                            class="icon-ok bigger-110 green"></span></span>
                                </c:when>
                                <c:when test="${'0' == routeLog.localSys.status}">
                                    <span class="step tipMe pointer" title="${routeLog.localSys.message}"><span
                                            class="icon-remove bigger-110 red"></span></span>
                                </c:when>
                                <c:otherwise>
                                    <span class="step tipMe pointer" title="">3</span>
                                </c:otherwise>
                            </c:choose>
                            <span class="title font12">结果回执</span>
                            <span class="title font12">${routeLog.localSys.date}&nbsp;</span>
                        </li>
                           
                           </c:when>
                         <c:when test="${vo.crossNet=='2' }">
                                <li data-target="#step2" <c:if test="${ routeLog.sendDataToOuterSendPipeline.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.sendDataToOuterSendPipeline.status}">
										<span class="step tipMe pointer" title="${routeLog.sendDataToOuterSendPipeline.message}">2</span>
									</c:if>
									<c:if test="${'1' == routeLog.sendDataToOuterSendPipeline.status}">
										<span class="step tipMe pointer" title="${routeLog.sendDataToOuterSendPipeline.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.sendDataToOuterSendPipeline.status}">
										<span class="step tipMe pointer" title="${routeLog.sendDataToOuterSendPipeline.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">发送到网闸节点
									</span>
									<span class="title font12">${routeLog.sendDataToOuterSendPipeline.date}&nbsp;</span>
							    </li>
                                <li data-target="#step4" <c:if test="${routeLog.outerEntrepotStore.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.outerEntrepotStore.status}">
										<span class="step tipMe pointer" title="${routeLog.outerEntrepotStore.message}">3</span>
									</c:if>
									<c:if test="${'1' == routeLog.outerEntrepotStore.status}">
										<span class="step tipMe pointer" title="${routeLog.outerEntrepotStore.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.outerEntrepotStore.status}">
										<span class="step tipMe pointer" title="${routeLog.outerEntrepotStore.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">网闸节点仓库</span>
									<span class="title font12">${routeLog.outerEntrepotStore.date}&nbsp;</span>
							    </li>
							  
							    <c:if test="${vo.throughGap!='2'}">
							       <li data-target="#step5" <c:if test="${routeLog.outerGAP.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.outerGAP.status}">
										<span class="step tipMe pointer" title="${routeLog.outerGAP.message}">4</span>
									</c:if>
									<c:if test="${'1' == routeLog.outerGAP.status}">
										<span class="step tipMe pointer" title="${routeLog.outerGAP.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.outerGAP.status}">
										<span class="step tipMe pointer" title="${routeLog.outerGAP.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">发送到网闸</span>
									<span class="title font12">${routeLog.outerGAP.date}&nbsp;</span>
							       </li>
							    </c:if>
							    <c:if test="${!si:isInnerNet(netType) && vo.throughGap=='2'}">
							     <li data-target="#step2" <c:if test="${ routeLog.waitCarvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}">4</span>
									</c:if>
									<c:if test="${'1' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">等待刻盘
									</span>
									<span class="title font12">${routeLog.waitCarvedDiscs.date}&nbsp;</span>
							    </li>
							    <li data-target="#step3" <c:if test="${ routeLog.carvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}">5</span>
									</c:if>
									<c:if test="${'1' == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.carvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.carvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">已刻盘</span>
									<span class="title font12">${routeLog.carvedDiscs.date}&nbsp;</span>
							    </li>
							    </c:if>
							     <c:if test="${si:isInnerNet(netType) && vo.throughGap=='2'}">
							         <li data-target="#step2" <c:if test="${ routeLog.waitCarvedDiscs.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}">4</span>
									</c:if>
									<c:if test="${'1' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.waitCarvedDiscs.status}">
										<span class="step tipMe pointer" title="${routeLog.waitCarvedDiscs.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">刻盘
									</span>
									<span class="title font12">${routeLog.waitCarvedDiscs.date}&nbsp;</span>
							       </li>
							     </c:if>
                           </c:when>
                        </c:choose>
                    </ul>
                    <c:choose> 
                         <c:when  test="${si:isInnerNet(netType) && vo.crossNet=='2' && vo.throughGap=='2'}"> <!-- 如果是内网 ，刻盘-->
                               <div style="margin:5px 0px;;border-top:2px solid #5555FF;border-bottom:2px solid  	#5555FF;text-align: center;line-height: 30px;color: white;background-color: 	#9999FF ;font-weight: bold; ">物理隔离</div>
	                             <ul class="wizard-steps">
									<li data-target="#step6" <c:if test="${ routeLog.analyzeStore.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.analyzeStore.status}">
											<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}">3</span>
										</c:if>
										<c:if test="${'1' == routeLog.analyzeStore.status}">
											<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.analyzeStore.status}">
											<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">刻盘文件解析入库</span>
										<span class="title font12">${routeLog.analyzeStore.date}&nbsp;</span>
									</li>
									<c:if test="${vo.recvNodecode==vo.innerGapNodeCode}">
								    <li data-target="#step5" <c:if test="${ routeLog.remoteSys.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}">5</span>
										</c:if>
										<c:if test="${'1' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">接收适配器接收</span>
										<span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
									</li>
								</c:if>
								<c:if test="${vo.recvNodecode!=vo.innerGapNodeCode}">
								    <li data-target="#step2"
			                            <c:if test="${ routeLog.localPipeline!=null && routeLog.localPipeline.date != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.localPipeline.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.localPipeline.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">3</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">本地发送队列</span>
			                            <span class="title font12">${routeLog.localPipeline.date}&nbsp;</span>
			                        </li>
			
			                        <li data-target="#step3"
			                            <c:if test="${routeLog.remoteStore!=null && routeLog.remoteStore.status != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.remoteStore.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.remoteStore.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">3</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">目的仓库</span>
			                            <span class="title font12">${routeLog.remoteStore.date}&nbsp;</span>
			                        </li>
			
			                        <li data-target="#step4"
			                            <c:if test="${ routeLog.remoteSys!=null && routeLog.remoteSys.status != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.remoteSys.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.remoteSys.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">4</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">接收适配器接收</span>
			                            <span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
			                        </li>
								</c:if>
								</ul>
                         </c:when>
                        <c:when  test="${si:isInnerNet(netType) && vo.crossNet=='2' && vo.throughGap!='2'}"> <!-- 如果是内网 -->
                               <div style="margin:5px 0px;;border-top:2px solid #5555FF;border-bottom:2px solid  	#5555FF;text-align: center;line-height: 30px;color: white;background-color: 	#9999FF ;font-weight: bold; ">物理隔离</div>
                                 <ul class="wizard-steps">
									<li data-target="#step6" <c:if test="${ routeLog.innerGAP.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.innerGAP.status}">
											<span class="step tipMe pointer" title="${routeLog.innerGAP.message}">5</span>
										</c:if>
										<c:if test="${'1' == routeLog.innerGAP.status}">
											<span class="step tipMe pointer" title="${routeLog.innerGAP.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.innerGAP.status}">
											<span class="step tipMe pointer" title="${routeLog.innerGAP.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">内网网闸FTP目录</span>
										<span class="title font12">${routeLog.innerGAP.date}&nbsp;</span>
									</li>
										
									<li data-target="#step7" <c:if test="${ routeLog.innerEntrepotStore.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.innerEntrepotStore.status}">
											<span class="step tipMe pointer" title="${routeLog.innerEntrepotStore.message}">6</span>
										</c:if>
										<c:if test="${'1' == routeLog.innerEntrepotStore.status}">
											<span class="step tipMe pointer" title="${routeLog.innerEntrepotStore.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.innerEntrepotStore.status}">
											<span class="step tipMe pointer" title="${routeLog.innerEntrepotStore.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">内网网闸仓库</span>
										<span class="title font12">${routeLog.innerEntrepotStore.date}&nbsp;</span>
									</li>
									<li data-target="#step8" <c:if test="${ routeLog.innerSendPipeline.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.innerSendPipeline.status}">
											<span class="step tipMe pointer" title="${routeLog.innerSendPipeline.message}">7</span>
										</c:if>
										<c:if test="${'1' == routeLog.innerSendPipeline.status}">
											<span class="step tipMe pointer" title="${routeLog.innerSendPipeline.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.innerSendPipeline.status}">
											<span class="step tipMe pointer" title="${routeLog.innerSendPipeline.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">发送到目的接收节点</span>
										<span class="title font12">${routeLog.innerSendPipeline.date}&nbsp;</span>
									</li>
									<li data-target="#step10" <c:if test="${ routeLog.remoteStore.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.remoteStore.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteStore.message}">8</span>
										</c:if>
										<c:if test="${'1' == routeLog.remoteStore.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.remoteStore.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">远程仓库</span>
										<span class="title font12">${routeLog.remoteStore.date}&nbsp;</span>
									</li>
									 <li data-target="#step11" <c:if test="${ routeLog.remoteSys.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}">9</span>
										</c:if>
										<c:if test="${'1' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">接收适配器接收</span>
										<span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
									</li> 
							  </ul>
                        </c:when>
                         <c:when test="${!si:isInnerNet(netType) && vo.crossNet=='1'}"><!-- 如果是外网 -->
                           <div style="margin:5px 0px;;border-top:2px solid #5555FF;border-bottom:2px solid  	#5555FF;text-align: center;line-height: 30px;color: white;background-color: 	#9999FF ;font-weight: bold; ">物理隔离</div>
                             <ul class="wizard-steps">
								<li data-target="#step6" <c:if test="${ routeLog.analyzeStore.date != null}">class="active"</c:if>>
									<c:if test="${null == routeLog.analyzeStore.status}">
										<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}">3</span>
									</c:if>
									<c:if test="${'1' == routeLog.analyzeStore.status}">
										<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}"><span class="icon-ok bigger-110 green"></span></span>
									</c:if>
									<c:if test="${'0' == routeLog.analyzeStore.status}">
										<span class="step tipMe pointer" title="${routeLog.analyzeStore.message}"><span class="icon-remove bigger-110 red"></span></span>
									</c:if>
									<span class="title font12">刻盘文件解析入库</span>
									<span class="title font12">${routeLog.analyzeStore.date}&nbsp;</span>
								</li>
								<c:if test="${vo.crossNode=='0'}">
								    <li data-target="#step5" <c:if test="${ routeLog.remoteSys.date != null}">class="active"</c:if>>
										<c:if test="${null == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}">5</span>
										</c:if>
										<c:if test="${'1' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-ok bigger-110 green"></span></span>
										</c:if>
										<c:if test="${'0' == routeLog.remoteSys.status}">
											<span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span class="icon-remove bigger-110 red"></span></span>
										</c:if>
										<span class="title font12">接收适配器接收</span>
										<span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
									</li>
								</c:if>
								<c:if test="${vo.crossNode!='0'}">
								    <li data-target="#step2"
			                            <c:if test="${ routeLog.localPipeline!=null && routeLog.localPipeline.date != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.localPipeline.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.localPipeline.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.localPipeline.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">3</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">本地发送队列</span>
			                            <span class="title font12">${routeLog.localPipeline.date}&nbsp;</span>
			                        </li>
			
			                        <li data-target="#step3"
			                            <c:if test="${routeLog.remoteStore!=null && routeLog.remoteStore.status != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.remoteStore.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.remoteStore.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteStore.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">3</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">目的仓库</span>
			                            <span class="title font12">${routeLog.remoteStore.date}&nbsp;</span>
			                        </li>
			
			                        <li data-target="#step4"
			                            <c:if test="${ routeLog.remoteSys!=null && routeLog.remoteSys.status != ''}">class="active"</c:if>>
			                            <c:choose>
			                                <c:when test="${'1' == routeLog.remoteSys.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
			                                            class="icon-ok bigger-110 green"></span></span>
			                                </c:when>
			                                <c:when test="${'0' == routeLog.remoteSys.status}">
			                                    <span class="step tipMe pointer" title="${routeLog.remoteSys.message}"><span
			                                            class="icon-remove bigger-110 red"></span></span>
			                                </c:when>
			                                <c:otherwise>
			                                    <span class="step tipMe pointer" title="">4</span>
			                                </c:otherwise>
			                            </c:choose>
			                            <span class="title font12">接收适配器接收</span>
			                            <span class="title font12">${routeLog.remoteSys.date}&nbsp;</span>
			                        </li>
								</c:if>
							</ul>
                        </c:when>
                     </c:choose>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="hr hr24 hr-dotted"></div>

<div class="widget-container-span">
    <div class="widget-box transparent">
        <div class="widget-header">
            <h4 class="lighter">基础信息</h4>

            <div class="widget-toolbar no-border">
                <%--
                <a href="#" data-action="settings">
                    <i class="icon-cog"></i>
                </a>
                <a href="#" data-action="reload">
                    <i class="icon-refresh"></i>
                </a>
                <a href="#" data-action="close">
                    <i class="icon-remove"></i>
                </a>
                --%>
                <a href="#" data-action="collapse">
                    <i class="icon-chevron-up"></i>
                </a>
            </div>
        </div>

        <div class="widget-body">
            <div class="widget-main padding-6 no-padding-left no-padding-right">
                <div class="profile-user-info profile-user-info-striped">
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 发送节点</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:nodeName(vo.sendNodecode)} (${vo.sendNodecode}&nbsp;)&nbsp;</span>
                        </div>
                    </div>
                   
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 接收节点</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:nodeName(vo.recvNodecode)} (${vo.recvNodecode}&nbsp;)&nbsp;</span>
                        </div>
                    </div>
                  

                    <div class="profile-info-row">
                        <div class="profile-info-name"> 发送状态</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:sendStatus(vo.sendStatus)}&nbsp;</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 通知状态</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:notifyStatus(vo.notifyStatus)}&nbsp;</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 是否跨网段</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:YN(vo.crossNet)}&nbsp;</span>
                        </div>
                    </div>
                    <%--<div class="profile-info-row">--%>
                    <%--<div class="profile-info-name"> 发送方IP </div>--%>
                    <%----%>
                    <%--<div class="profile-info-value">--%>
                    <%--<span class="editable">${vo.ip}&nbsp;</span>--%>
                    <%--</div>--%>
                    <%--</div>--%>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 发送时间</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:fmtDate(vo.created)}&nbsp;</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 更新时间</div>

                        <div class="profile-info-value">
                            <span class="editable">${si:fmtDate(vo.modified)}&nbsp;</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="hr hr24 hr-dotted"></div>

<div class="widget-container-span">
    <div class="widget-box transparent">
        <div class="widget-header">
            <h4 class="lighter">相关报文</h4>

            <div class="widget-toolbar no-border">
                <%--
                <a href="#" data-action="settings">
                    <i class="icon-cog"></i>
                </a>
                <a href="#" data-action="reload">
                    <i class="icon-refresh"></i>
                </a>
                <a href="#" data-action="close">
                    <i class="icon-remove"></i>
                </a>
                --%>
                <a href="#" data-action="collapse">
                    <i class="icon-chevron-up"></i>
                </a>
            </div>
        </div>

        <div class="widget-body">
            <div class="widget-main padding-6 no-padding-left no-padding-right">
                <div id="accordion" class="accordion-style1 panel-group">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion"
                                   href="#collapse1">
                                    <i class="icon-angle-down bigger-110" data-icon-hide="icon-angle-down"
                                       data-icon-show="icon-angle-right"></i>
                                    路由头信息&nbsp;&nbsp;&nbsp;<span class="label label-warning arrowed-in-right arrowed">文件大小<fmt:formatNumber value="${vo.filesize/1024 }" pattern="#,##0.0#" maxFractionDigits="1"></fmt:formatNumber>K
                                </span>
                                </a>
                            </h4>
                        </div>
                        <div class="panel-collapse collapse in" id="collapse1">
                            <div class="panel-body">
                                <div class="xmlContent">
                                    <pre><code data-language="html">${si:escapeHtml(vo.posthead)}</code></pre>
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </div>
                    <%--<div class="panel panel-default">--%>
                        <%--<div class="panel-heading">--%>
                            <%--<h4 class="panel-title">--%>
                                <%--<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion"--%>
                                   <%--href="#collapse2">--%>
                                    <%--<i class="icon-angle-down bigger-110" data-icon-hide="icon-angle-down"--%>
                                       <%--data-icon-show="icon-angle-right"></i>--%>
                                    <%--消息体--%>
                                <%--</a>--%>
                            <%--</h4>--%>
                        <%--</div>--%>
                        <%--<div class="panel-collapse collapse" id="collapse2">--%>
                            <%--<div class="panel-body">--%>
                                <%--<c:if test="${payloadError==null && vo.payloadContent!=null}">--%>
                                    <%--<div class="xmlContent">--%>
                                        <%--<pre><code data-language="html">${si:escapeHtml(vo.payloadContent)}</code></pre>--%>
                                        <%--&nbsp;--%>
                                    <%--</div>--%>
                                <%--</c:if>--%>
                                <%--<c:if test="${payloadError!=null}">--%>
                                    <%--<div class="alert alert-danger">--%>
                                        <%--<i class="icon-warning-sign"></i> ${payloadError}--%>
                                    <%--</div>--%>
                                <%--</c:if>--%>
                            <%--</div>--%>
                        <%--</div>--%>
                    <%--</div>--%>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion"
                                   href="#collapse3">
                                    <i class="icon-angle-down bigger-110" data-icon-hide="icon-angle-down"
                                       data-icon-show="icon-angle-right"></i>
                                    数据交换平台返回值
                                </a>
                            </h4>
                        </div>
                        <div class="panel-collapse collapse " id="collapse3">
                            <div class="panel-body">
                                <div class="xmlContent">
                                    <pre><code data-language="html">${si:escapeHtml(vo.resp)}</code></pre>
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion"
                                   href="#collapse4">
                                    <i class="icon-angle-down bigger-110" data-icon-hide="icon-angle-down"
                                       data-icon-show="icon-angle-right"></i>
                                    接收适配器签收
                                </a>
                            </h4>
                        </div>
                        <div class="panel-collapse collapse" id="collapse4">
                            <div class="panel-body">
                                <div class="xmlContent">
                                    <pre><code data-language="html">${si:escapeHtml(vo.reciverSigned)}</code></pre>
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion"
                                   href="#collapse5">
                                    <i class="icon-angle-down bigger-110" data-icon-hide="icon-angle-down"
                                       data-icon-show="icon-angle-right"></i>
                                    发送适配器签收(回执通知)
                                </a>
                            </h4>
                        </div>
                        <div class="panel-collapse collapse" id="collapse5">
                            <div class="panel-body">
                                <div class="xmlContent">
                                    <pre><code data-language="html">${si:escapeHtml(vo.senderSigned)}</code></pre>
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--
<h3 class="header smaller lighter">相关报文</h3>
<div class="tabbable">
    <ul class="nav nav-tabs padding-12 tab-color-blue background-blue" id="myTab4">
        <li class="active">
            <a data-toggle="tab" href="#item1">路由头信息</a>
        </li>
        <li>
            <a data-toggle="tab" href="#item2">消息体</a>
        </li>
        <li>
            <a data-toggle="tab" href="#item3">数据交换平台返回值(resp)</a>
        </li>
        <li>
            <a data-toggle="tab" href="#item4">接收适配器签收</a>
        </li>
        <li>
            <a data-toggle="tab" href="#item5">发送适配器签收(回执通知)</a>
        </li>
    </ul>

    <div class="tab-content" style="border:1px solid #c5d0dc">
        <div id="item1" class="tab-pane in active">
            <div style="min-height:200px">
                <pre><code data-language="html">${si:escapeHtml(vo.posthead)}</code></pre>
                &nbsp;
            </div>
        </div>

        <div id="item2" class="tab-pane">
            <div style="min-height:200px">
                <pre><code data-language="html">${si:escapeHtml(vo.payloadContent)}</code></pre>
                &nbsp;
            </div>
        </div>

        <div id="item3" class="tab-pane">
            <div style="min-height:200px">
                <pre><code data-language="html">${si:escapeHtml(vo.resp)}</code></pre>
                &nbsp;
            </div>
        </div>

        <div id="item4" class="tab-pane">
            <div style="min-height:200px">
                <pre><code data-language="html">${si:escapeHtml(vo.reciverSigned)}</code></pre>
                &nbsp;
            </div>
        </div>

        <div id="item5" class="tab-pane">
            <div style="min-height:200px">
                <pre><code data-language="html">${si:escapeHtml(vo.recverSigned)}</code></pre>
                &nbsp;
            </div>
        </div>
    </div>
</div>
--%>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
